/*
 * @Date: 2023-11-19 14:47:57
 * @LastEditors: 付小磊
 */
import request from '@/utils/request'


export function findUserList (data) {
    return request({
        url: '/personnel/findList',
        method: 'post',
        data: data
    })
}


// 查看人员技能列表
export function findList (data) {
    return request({
        url: '/skillManagement/findList',
        method: 'post',
        data: data
    })
}

// 增加人员技能
export function addSkillManagement (data) {
    return request({
        url: '/skillManagement/addSkillManagement',
        method: 'post',
        data: data
    })
}

// 删除人员技能
export function delSkillManagement (data) {
    return request({
        url: `/skillManagement/delSkillManagement/${data}`,
        method: 'delete',
    })
}

// 查看技能详情
export function getDetail (data) {
    return request({
        url: `/skillManagement/getDetail/${data}`,
        method: 'post',
        data:{}
    })
}

// 编辑人员技能
export function updateSkillManagement (data) {
    return request({
        url: `/skillManagement/updateSkillManagement`,
        method: 'post',
        data:data,
    })
}




